package dao;

import entity.*;

public class Test {

	public static void main(String[] args) {
		FindPasswordDao ps = FindPasswordDao.getInstance();
		if(ps.modifyPassword(1, "yongyuandenanshen", "baoyan")) {
			System.out.println("修改密码成功！");
		}else {
			System.out.println("修改密码失败！");
		}
		
		
//		if(ps.updatePassword(1023, "qzk")) {
//			System.out.println("更新成功");
//		}
		
		
//		System.out.println("验证码为"+ps.getCode(1023));;
		
		
		
//		AdminDAO adminDAO = AdminDAO.getInstance();
//		Admin admin = new Admin("邱泽", "14234", "19823094");
		//adminDAO.add(admin);
//		adminDAO.delete(1);
	}

}
